<?php
$id = isset($_GET['id'])?$_GET['id']:-1;
$name = isset($_GET['n'])?$_GET['n']:'unknow';
$age = isset($_GET['a'])?$_GET['a']:18;
$title = isset($_GET['t'])?$_GET['t']:'none';
$salary = isset($_GET['s'])?$_GET['s']:3500;

?>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>datail</title>
</head>
<body>
    <ul>
      <li>id: <?= $id ?></li>
      <li>name: <?= $name ?></li>
      <li>age: <?= $age ?></li>
      <li>title: <?= $title ?></li>
      <li>salary: <?= $salary ?></li>
    </ul>
</body>
</html>